export default class BaseEnumValue<T> {
	private readonly code: T
	private readonly desc: string

	constructor(code: T, desc: string) {
		this.code = code
		this.desc = desc
	}

	getCode(): T {
		return this.code
	}

	getDesc(): string {
		return this.desc
	}
}
